import Promise from 'es6-promise'; // Andriod 4.2 以下不支持 promise
Promise.polyfill();
import Vue from 'vue'
import App from './App.vue'

// import '@babel/polyfill'
import store from '@/store'
import * as types from '@/store/mutations-type';
window.types = types;

import router from './router/index'
import VueRouter from 'vue-router'
Vue.use(VueRouter);

import api from '@/api.index.js'

//css
import 'lib-flexible'
import "../public/css/style.scss"
import "../public/css/public.scss"


import mixins from "./mixins/mixins"

Vue.mixin(mixins)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app")